69797f90a86696b2863cb33604ccdb7a30ae249f,core/src/main/java/psiprobe/tools/ApplicationUtils.java,ApplicationUtils,getApplication,#Context#ResourceResolver#boolean#ContainerWrapperBean#,90
Before Change
logger.debug("counting servlet attributes");
int ctxAttrCount = 0;
for (Enumeration<String> e = context.getServletContext().getAttributeNames(); e.hasMoreElements(); e
.nextElement()) {
ctxAttrCount++;
}
app.setContextAttributeCount(ctxAttrCount);
After Change
if (resourceResolver != null) {
logger.debug("counting servlet attributes");
app.setContextAttributeCount(Collections.list(context.getServletContext().getAttributeNames()).size());
if (app.isAvailable()) {
logger.debug("collecting session information");